3.7.73 \(\int \frac {x}{\sqrt {d x^2} (a+b x^2)} \, dx\) [673]

Optimal. Leaf size=34 \[ \frac {x \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \sqrt {d x^2}} \]

[Out]

x*arctan(x*b^(1/2)/a^(1/2))/a^(1/2)/b^(1/2)/(d*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {15, 211} \begin {gather*} \frac {x \text {ArcTan}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \sqrt {d x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/(Sqrt[d*x^2]*(a + b*x^2)),x]

[Out]

(x*ArcTan[(Sqrt[b]*x)/Sqrt[a]])/(Sqrt[a]*Sqrt[b]*Sqrt[d*x^2])

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[a^IntPart[m]*((a*x^n)^FracPart[m]/x^(n*FracPart[m])), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rubi steps

\begin {align*} \int \frac {x}{\sqrt {d x^2} \left (a+b x^2\right )} \, dx &=\frac {x \int \frac {1}{a+b x^2} \, dx}{\sqrt {d x^2}}\\ &=\frac {x \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \sqrt {d x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 34, normalized size = 1.00 \begin {gather*} \frac {x \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{\sqrt {a} \sqrt {b} \sqrt {d x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/(Sqrt[d*x^2]*(a + b*x^2)),x]

[Out]

(x*ArcTan[(Sqrt[b]*x)/Sqrt[a]])/(Sqrt[a]*Sqrt[b]*Sqrt[d*x^2])

________________________________________________________________________________________

Maple [A]
time = 0.10, size = 24, normalized size = 0.71

method result size
default \(\frac {x \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {d \,x^{2}}\, \sqrt {a b}}\) \(24\)
risch \(-\frac {x \ln \left (b x +\sqrt {-a b}\right )}{2 \sqrt {d \,x^{2}}\, \sqrt {-a b}}+\frac {x \ln \left (-b x +\sqrt {-a b}\right )}{2 \sqrt {d \,x^{2}}\, \sqrt {-a b}}\) \(57\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(b*x^2+a)/(d*x^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/(d*x^2)^(1/2)*x/(a*b)^(1/2)*arctan(b*x/(a*b)^(1/2))

________________________________________________________________________________________

Maxima [A]
time = 0.49, size = 23, normalized size = 0.68 \begin {gather*} \frac {\arctan \left (\frac {\sqrt {d x^{2}} b}{\sqrt {a b d}}\right )}{\sqrt {a b d}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2+a)/(d*x^2)^(1/2),x, algorithm="maxima")

[Out]

arctan(sqrt(d*x^2)*b/sqrt(a*b*d))/sqrt(a*b*d)

________________________________________________________________________________________

Fricas [A]
time = 1.83, size = 94, normalized size = 2.76 \begin {gather*} \left [-\frac {\sqrt {-a b d} \log \left (\frac {b d x^{2} - a d - 2 \, \sqrt {-a b d} \sqrt {d x^{2}}}{b x^{2} + a}\right )}{2 \, a b d}, \frac {\sqrt {a b d} \arctan \left (\frac {\sqrt {a b d} \sqrt {d x^{2}}}{a d}\right )}{a b d}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2+a)/(d*x^2)^(1/2),x, algorithm="fricas")

[Out]

[-1/2*sqrt(-a*b*d)*log((b*d*x^2 - a*d - 2*sqrt(-a*b*d)*sqrt(d*x^2))/(b*x^2 + a))/(a*b*d), sqrt(a*b*d)*arctan(s
qrt(a*b*d)*sqrt(d*x^2)/(a*d))/(a*b*d)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {d x^{2}} \left (a + b x^{2}\right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x**2+a)/(d*x**2)**(1/2),x)

[Out]

Integral(x/(sqrt(d*x**2)*(a + b*x**2)), x)

________________________________________________________________________________________

Giac [A]
time = 0.88, size = 22, normalized size = 0.65 \begin {gather*} \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{\sqrt {a b} \sqrt {d} \mathrm {sgn}\left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^2+a)/(d*x^2)^(1/2),x, algorithm="giac")

[Out]

arctan(b*x/sqrt(a*b))/(sqrt(a*b)*sqrt(d)*sgn(x))

________________________________________________________________________________________

Mupad [B]
time = 0.34, size = 23, normalized size = 0.68 \begin {gather*} \frac {\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {x^2}}{\sqrt {a}}\right )}{\sqrt {a}\,\sqrt {b}\,\sqrt {d}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/((a + b*x^2)*(d*x^2)^(1/2)),x)

[Out]

atan((b^(1/2)*(x^2)^(1/2))/a^(1/2))/(a^(1/2)*b^(1/2)*d^(1/2))

________________________________________________________________________________________